package com.chagee.store.operation.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassName WorkOrderDO  //类名称
 * @Description: 工单表(WorkOrder)实体类
 * @Author: Jacky-zhan	//作者
 * @CreateDate: 2024/2/26 16:47	//创建时间
 * @UpdateUser: Jacky-zhan
 * @UpdateDate: 2024/2/26 16:47	//更新时间
 * @UpdateRemark: 更新的信息
 * @Version: 1.0    //版本号
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "work_order_receiver", autoResultMap = true)
public class WorkOrderReceiverDO extends BaseDO {

	@TableId(type = IdType.AUTO)
	private Long id;
	//接单人id
	private Long receiverId;
	//工单id
	private Long workOrderId;
	//工单编号
	private String workOrderNumber;
	//门店编码
	private String storeCode;
	//门店名称
	private String storeName;
	//单据类型
	private Integer documentType;
	//单据状态
	private Integer documentStatus;
	//工单评分
	private String documentScore;
	//接单人
	private String receiver;
	//接单人电话
	private String receiverMobile;
	//供应商
	private String supplier;
	//拓展字段
	private String extra;
	/**
	 * 供应商id
	 */
	private Long supplierId;
	/**
	 * 所属子公司组织id
	 */
	private String companyId;
	/**
	 * 所属子公司组织名称
	 */
	private String companyName;

	/**
	 * 供应商编码
	 */
	private String supplierNo;
}
